home *** CD-ROM | disk | FTP | other *** search
/ Gigarom 1 / Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso / FILES / BBS / SECOND_SIGHT / FSec Cleaner.cpt / FSec Cleaner / FSec Cleaner Doc < prev    next >
Text File  |  1988-07-29  |  2KB  |  50 lines

  1.                           About FSec Cleaner
  2.  
  3. This is a program I threw together in ZBasic to check out my Host 2.0
  4. FileSections. It prompts you to open a FileSection, then checks each
  5. entry in that section. If the entry is marked deleted, it asks you if
  6. you want to delete the file pointed to by the entry.
  7.  
  8. ------------------------------------------------------------------------
  9.                              ** Warning **
  10.  
  11.   If you tell FSec Cleaner you want to delete a file, it will indeed
  12.   delete that file. To minimize accidents, this response requires a
  13.   carriage return before it takes effect, so you can backspace over
  14.   your "y" response and change it to "n". Incidentally, if you try to
  15.   delete a file which doesn't exist, no problem. The program continues
  16.   without a hiccup.
  17.  
  18. ------------------------------------------------------------------------
  19.  
  20. Respond to the deletion inquiry with either a "Y" or "N" (upper or lower
  21. case doesn't matter) and a carriage return.
  22.  
  23. As it goes through the FileSection, it checks each entry to make sure it
  24. points to an existing file. If no file is found, the entry is marked
  25. deleted and the program displays the message
  26.  
  27. Couldn’t find [path:filename]
  28.  
  29. where [path:filename] is the location of the file contained in the
  30. FileSection. The program then asks if you want to set the entry as
  31. deleted (or you can elect to Quit processing the FileSection).
  32.  
  33. When it has finished checking the FileSection, if any entries are marked
  34. for deletion FSec Cleaner asks if you want to back up the FileSection.
  35. If you answer "y" or "Y", FSec Cleaner renames the original file with an
  36. extension of ".BAK" and copies the not-marked-for-deletion entries to a
  37. newly-created FileSection with the original name. Then you are asked if
  38. you want to delete the backup file (the one with the .BAK extension).
  39.  
  40. I wrote this to help me through the long days and nights until we get a
  41. Host 2.0-compatible version of FSP from Tom Konantz. It's no substitute
  42. for the flexibility of FSP, but it's better than nothing (and may be
  43. useful to those poor souls who've been frightened off of FSP ).
  44.  
  45. Pete Johnson
  46. July 29, 1988
  47.  
  48. Glassell Park BBS
  49. (213) 258-7649
  50.